package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierDao {

    List<Supplier> getlist(@Param("offset") Integer offset,
                           @Param("rows") Integer rows,
                           @Param("supplierName") String supplierName);

    void save(Supplier supplier);

    void updateById(Supplier supplier);

    void delete(String ids);

    Long getTotal();

}
